package com.crm.model.pojo;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the guanhuaicc database table.
 * 
 */
@Entity
@Table(name="guanhuaicc")
@NamedQuery(name="Guanhuaicc.findAll", query="SELECT g FROM Guanhuaicc g")
public class Guanhuaicc implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String ccid;

	private String ccccontent;

	private String cccf;

	private String cccustomer;

	@Temporal(TemporalType.DATE)
	private Date ccdate;

	private byte ccdelete;

	private String ccremark;

	private String cctheme;

	//bi-directional many-to-one association to Cctype
	@ManyToOne
	@JoinColumn(name="cctype")
	private Cctype cctypeBean;

	//bi-directional many-to-one association to Contact
	@ManyToOne
	@JoinColumn(name="cclinkman")
	private Contact contact;

	//bi-directional many-to-one association to Staff
	@ManyToOne
	@JoinColumn(name="ccexecutor")
	private Staff staff;

	public Guanhuaicc() {
	}

	public String getCcid() {
		return this.ccid;
	}

	public void setCcid(String ccid) {
		this.ccid = ccid;
	}

	public String getCcccontent() {
		return this.ccccontent;
	}

	public void setCcccontent(String ccccontent) {
		this.ccccontent = ccccontent;
	}

	public String getCccf() {
		return this.cccf;
	}

	public void setCccf(String cccf) {
		this.cccf = cccf;
	}

	public String getCccustomer() {
		return this.cccustomer;
	}

	public void setCccustomer(String cccustomer) {
		this.cccustomer = cccustomer;
	}

	public Date getCcdate() {
		return this.ccdate;
	}

	public void setCcdate(Date ccdate) {
		this.ccdate = ccdate;
	}

	public byte getCcdelete() {
		return this.ccdelete;
	}

	public void setCcdelete(byte ccdelete) {
		this.ccdelete = ccdelete;
	}

	public String getCcremark() {
		return this.ccremark;
	}

	public void setCcremark(String ccremark) {
		this.ccremark = ccremark;
	}

	public String getCctheme() {
		return this.cctheme;
	}

	public void setCctheme(String cctheme) {
		this.cctheme = cctheme;
	}

	public Cctype getCctypeBean() {
		return this.cctypeBean;
	}

	public void setCctypeBean(Cctype cctypeBean) {
		this.cctypeBean = cctypeBean;
	}

	public Contact getContact() {
		return this.contact;
	}

	public void setContact(Contact contact) {
		this.contact = contact;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

}